003 - Longest Circular Road(★4)
木の直径
適当な頂点からDFS→一番遠いところからDFSで見つかる
https://atcoder.jp/contests/typical90/submissions/58762799